﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions {
    import Classes.*;

    public class THolidayCheckPresents extends TWorldState {

        public function THolidayCheckPresents(_arg1:HolidayTree){
            super(_arg1);
        }
        override public function perform():void{
            signedWorldAction("holiday2010TreeUpdatePresentLevels");
        }
        override protected function onWorldActionComplete(_arg1:Object):void{
            if (!_arg1){
                return;
            };
            if (_arg1["maxCount"]){
                HolidayTree.m_transactionMostPresents = _arg1.maxCount;
                HolidayTree.m_transactionLastPresents = _arg1.lastCount;
            };
        }

    }
}//package Transactions 
